<template>
    <el-row :gutter="20">
        <el-col :span="10" :offset="7">
            <div>
                <el-link href="#/BlogContent" target="_blank">青春是一个短暂的美梦, 当你醒来时, 它早已消失无踪</el-link>
                <el-divider></el-divider>
                <el-link href="#/BlogContent" target="_blank">少量的邪恶足以抵消全部高贵的品质, 害得人声名狼藉</el-link>
            </div>
        </el-col>
    </el-row>
</template>

<script>
    import axios from "axios";

    export default {
        name: "BlogHome",
        mounted() {
            this.onSubmit()
        },
        methods: {
            onSubmit() {
                axios.get("http://127.0.0.1:8081/ping")
                    .then(function (response) {
                        // handle success
                        console.log(response);
                    })
            }
        }
    }
</script>

<style scoped>

</style>